﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Authority.Model
{
    /// <summary>
    /// 部门列表返回信息
    /// </summary>
    public class DepartmentsListResponse
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        public string gCode
        {
            get; set;
        }

        /// <summary>
        /// 父节点唯一标识符
        /// </summary>
        public string gParentCode
        {
            get; set;
        }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string sName
        {
            get; set;
        }

        /// <summary>
        /// 排序
        /// </summary>
        public int iSort
        {
            get; set;
        }

        /// <summary>
        /// 负责人
        /// </summary>
        public string sLeader
        {
            get; set;
        }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string sPhone
        {
            get; set;
        }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string sEmail
        {
            get; set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string sContent
        {
            get; set;
        }

        /// <summary>
        /// 状态 0不启用 1启用
        /// </summary>
        public bool? bIsEnabled
        {
            get; set;
        }

        /// <summary>
        /// 是否被逻辑删除
        /// </summary>
        public bool bIsDeleted
        {
            get; set;
        }

        /// <summary>
        /// 是否展开
        /// </summary>
        public bool bIsSpread
        {
            get; set;
        }


        /// <summary>
        /// 是否有兄长
        /// </summary>
        public bool bHaveElder
        {
            get; set;
        }


        /// <summary>
        /// 是否有兄弟
        /// </summary>
        public bool bHaveYounger
        {
            get; set;
        }
    }
}
